//
//  StarEvaluateView.h
//  yiluServeForUser
//
//  Created by yang yang on 2018/8/7.
//  Copyright © 2018年 Shanghai Tan Qi. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol StarEvaluateDelegate<NSObject>

-(void)theCurrentLevelWith:(NSInteger)level;

@end

@interface StarEvaluateView : UIView{
    
    CGFloat _starSpace;
    UIImage * _fullStarImage;
    UIImage * _emptyStarImage;
}

-(instancetype)initWithFrame:(CGRect)frame;

@property (nonatomic,copy) id <StarEvaluateDelegate> delegate;

-(void)setStarSpace:(CGFloat)starSpace;

-(CGFloat)starSpace;

-(void)setFullStarImage:(UIImage *)fullStarImage;

-(UIImage *)fullStarImage;

-(void)setEmptyStarImage:(UIImage *)emptyStarImage;

-(UIImage *)emptyStarImage;

-(void)configLevel:(NSInteger)level;

@end
